import { request } from "./request"


// 解绑小孩
export const unBind = ({studentId }: {studentId: string | number}) => {
	return request({
		url: 'v1/parents/unBind',
		method: 'POST',
		data: {
			studentId
		}
	})
}



// 意见反馈
export const feedbacks = ({contactInformation, content, type }) => {
	console.log('contactInformation, content, type', contactInformation, content, type)
	return request({
		url: 'v1/feedbacks/add',
		method: 'POST',
		data: {
			contactInformation, 
			content, 
			type
		}
	})
}


// 家长用户注销
export const logout =  () => {
	return request({
		url: 'v1/members/logout',
		method: 'POST',
	})
}